 <?php
$view_slider = '<div id="slider"><div id="shadow"></div><div class="container"><div class="wt-rotator"><a href="#"></a><div class="desc"></div><div class="preloader"></div>
<div class="c-panel"><div class="buttons"><div class="prev-btn"></div><div class="play-btn"></div><div class="next-btn"></div></div><div class="thumbnails"><ul>';
$slider = $tc->slider_baner(1,1);
while($row_slider = mysql_fetch_array($slider)){
	$view_slider .= '<li><a href="'.url_slider_image.$row_slider['url_hinh'].'" title="'.$row_slider['name'].'"></a><a href="'.$row_slider['link'].'" target="_blank">'.$row_slider['name'].'</a></li>';
}
$view_slider .= '</ul></div></div></div></div></div>';
echo $view_slider;